home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / 3dk.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.2 KB  |  81 lines

  1. gfx/2d/bigchars
  2. {
  3.     nopicmip
  4.     nomipmaps
  5.     {
  6.         map gfx/2d/bigchars.tga
  7.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  8.         //blendFunc GL_ONE GL_ZERO
  9.         //rgbgen identity
  10.         rgbgen vertex
  11.     }
  12. }
  13.  
  14. console
  15. {
  16.     nopicmip
  17.     nomipmaps
  18.    
  19.         {
  20.         map gfx/2d/BattleCry.tga
  21.         blendfunc filter
  22.                 //blendFunc GL_ONE GL_ZERO
  23.         //blendfunc blend
  24.         //alphagen wave sin 0 10 0 10.2
  25.         //alphafunc gt0
  26.                 //tcMod scroll .02  0
  27.                 //tcmod scale 2 1
  28.     }
  29.  
  30.         {
  31.                 map gfx/misc/console01.tga
  32.                 blendFunc add
  33.                 tcMod turb 0 .1 0 .1
  34.                 tcMod scale 2 1
  35.                 tcmod scroll 0.2  .1
  36.         
  37.     } 
  38.  
  39. }
  40.  
  41. ColorBlock
  42. {
  43.     cull none
  44.     nopicmip
  45.     nomipmaps
  46.     {
  47.         map $whiteimage
  48.         rgbgen vertex
  49.         depthfunc always
  50.     }
  51. }
  52.  
  53. crosshair
  54. {
  55.     nopicmip
  56.     nomipmaps
  57.     {
  58.         clampmap gfx/2d/crosshair.tga
  59.         blendfunc blend
  60.         alphafunc ge128
  61.         tcMod rotate 80
  62.     }
  63. //    {
  64. //        clampmap gfx/2d/crosshair.tga
  65. //        blendfunc add
  66. //        alphafunc ge128
  67. //        tcMod rotate -80
  68. //    }
  69. }
  70.  
  71. mouse
  72. {
  73.     nopicmip
  74.     nomipmaps
  75.     {
  76.         clampmap gfx/2d/mouse_cursor.tga
  77.         blendfunc blend
  78.         alphafunc ge128
  79.     }
  80. }
  81.